<template>
  <div class="table">
    <el-table
      :data="tablemessage"
      class="customer-table"
      :header-cell-style="headClass"
      style="width: 400px"
    >
      <el-table-column label="通道号" prop="channel"></el-table-column>
      <el-table-column label="告警值" prop="lastTemp"> </el-table-column>
      <el-table-column label="告警等级" prop="alarmStatus"> </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  props: ["tablemessage"],
  data() {
    return {};
  },
  methods: {
    headClass() {
      return "background-color: transparent;color:#fff;font-weight:bold;";
    },
  },
  created() {},
};
</script>
<style scoped>
.table {
  position: absolute;
  right: 3%;
  margin: auto;
  bottom: 20%;
}
.el-table::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0px;
}
</style>
